package com.atguigu.gmall.cart.service;

import com.atguigu.gmall.model.cart.CartInfo;

import java.util.List;

/**
 * @author Mamba
 * @version 1.0
 * @Description
 * @date 2021/1/4 21:29
 */
public interface CartInfoService {

    void addToCart(Long skuId, Integer skuNum,String userId);

    CartInfo findCartInfoBySkuId(Long skuId, String userId);

    List<CartInfo> cartList(String userId, String userTempId);

    void checkCart(Long skuId, Integer isChecked);

    List<CartInfo> findCartListByChecked(String userId);
}
